
package com.eyedog.video.maincategory;

import com.eyedog.library.mvp.IModel;
import com.eyedog.library.mvp.IView;
import com.eyedog.video.entity.CategoryEntity;
import com.eyedog.video.http.ICallback;

import java.util.List;

public class constract {

    public interface ICategoryView extends IView {
        void showCategories(List<CategoryEntity> categoryEntities);

        void showFailedView(String err);
    }

    public interface ICategoryModel extends IModel {
        void loadCategories(ICallback<List<CategoryEntity>> callback);
    }
}
